<html>
<head><meta charset="utf-8"><title>atomic store-store synchronization · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/atomic.20store-store.20synchronization.html">atomic store-store synchronization</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="176074511"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/atomic%20store-store%20synchronization/near/176074511" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gnzlbg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/atomic.20store-store.20synchronization.html#176074511">(Sep 19 2019 at 07:09)</a>:</h4>
<p>Is there a way to make an atomic store happen before a subsequent atomic store ?</p>



<a name="176074577"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/atomic%20store-store%20synchronization/near/176074577" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gnzlbg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/atomic.20store-store.20synchronization.html#176074577">(Sep 19 2019 at 07:10)</a>:</h4>
<p>such that if that second store happens before a load, then  both stores have always happened ?</p>



<a name="176216612"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/atomic%20store-store%20synchronization/near/176216612" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/atomic.20store-store.20synchronization.html#176216612">(Sep 20 2019 at 18:03)</a>:</h4>
<p>seqcst.</p>



<a name="176299454"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/atomic%20store-store%20synchronization/near/176299454" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> gnzlbg <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/atomic.20store-store.20synchronization.html#176299454">(Sep 22 2019 at 07:53)</a>:</h4>
<p>I thought a <code>release</code> store would suffice</p>



<a name="176387230"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/atomic%20store-store%20synchronization/near/176387230" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/atomic.20store-store.20synchronization.html#176387230">(Sep 23 2019 at 16:56)</a>:</h4>
<p>(deleted) actually idk what I’m talking about my brain is fried so I’m just not going to.</p>



<a name="177712150"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/atomic%20store-store%20synchronization/near/177712150" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/atomic.20store-store.20synchronization.html#177712150">(Oct 09 2019 at 13:15)</a>:</h4>
<p><code>Release</code> does not incur store-store synchronization</p>



<a name="177712208"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/atomic%20store-store%20synchronization/near/177712208" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> RalfJ <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/atomic.20store-store.20synchronization.html#177712208">(Oct 09 2019 at 13:16)</a>:</h4>
<p>I forgot how <code>SeqCst</code> flows into happens-before...</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>